import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router';
import iView from 'iview';
import {routes} from './router';
import 'iview/dist/styles/iview.css';

Vue.use(iView);

Vue.use(VueRouter);
const router=new VueRouter({
  routes:routes,
  mode:'hash'
});

new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
